﻿using System;
using System.Windows.Forms;
using CRMS.Views.StudentMgnt;

namespace CRMS.Views
{
    static class MyApp
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
       {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            LoginForm log = new LoginForm();
            log.ShowDialog();
            if (LoginForm.Can == true)
            {
                Application.Run(new frmMain());
            }
            
        }
    }
}
